package is.ru.honn.rupin.data;

import is.ru.honn.rupin.domain.Follower;
import is.ru.honn.rupin.domain.User;

import java.util.List;

/**
 * An interface which represents the actions to preform on the ru_followers table
 */
public interface FollowerDataGateway {
    /**
     * Adds a follower to the table
     * @param follower the follower
     * @param followee the followee
     * @return the username of the followee
     */
    String add(String follower, String followee);
    List<Follower> getFollowers(String username);
    List<Follower> getFollowees(String username);
}
